package uri.model.collection;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import uri.model.BoardVO;
import uri.model.CommentVO;
import uri.model.FileVO;

public interface CollectionDAO {

	void writeCollection(BoardVO bvo);

	void fileUpload(FileVO fvo);

	BoardVO detailCollectionNoHit(String no);

	List<FileVO> fileInfo(String no);

	List<BoardVO> contentList(int nowPage1);

	int getAllContentCount();

	void hitPlus(String no);

	void deleteCollection(String no);

	void deleteFiles(String no);

	List<String> findFileNameByNo(String no);

	int writeComment(uri.model.collection.CommentVO cvo);

	List<uri.model.collection.CommentVO> getAllComment(String no);

	int deleteComment(String no);

	int updateComment(uri.model.collection.CommentVO cvo);

	void updateCollection(BoardVO bvo);

	void updateFileList(FileVO fvo);

	String getFileNameByNo(String no);

	void updateFile(FileVO updateFileInfo);

	void deleteFileByno(String no);

	void replyWriteGo(BoardVO bvo);

	void updateRestep(BoardVO bvo);

	void updateRef(BoardVO bvo);

	List<BoardVO> findCollectionByTitle(HashMap map);

	List<BoardVO> findCollectionByContent(HashMap map);

	List<BoardVO> findCollectionByTitleAndContent(HashMap map);

	void deleteFile(String no);

	void updateLike(String no);


}